//==============================================================================
// X barracks_anim.txt
//==============================================================================
import Construction_defines_anim.txt
import Examination_defines_anim.txt

define sfxatimeshiftmediumin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift medium
		}
	}
}

//down sparkles
define sfxatimeshiftspellin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift spell out
		}
	}
}

define sfxatimeshiftswirl
{
	set hotspot
	{
		version
		{
			Visualnone jimmy
		}
	}
}

//==============================================================================
define Dust
{
    set hotspot
    {
        version
        {
            Visualparticle SFX A Building DustA
        }
    }
}
//==============================================================================
anim idle
{
    SetSelector
    {
        TechLogic age 2/age 3/age 4
        SetSelector
        {
            DamageLogic -2 -1 50
            set hotspot
            {
                version
                {
                    visual Building C Barracks Age2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    ReplaceTexture building c roofage1/building c roofage2
                    ReplaceTexture building c wallsage1/building c wallsage2
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 3- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            DamageLogic -2 -1 50
            set hotspot
            {
                version
                {
                    visual Building C Barracks Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    ReplaceTexture building c roofage1/building c roofage3
                    ReplaceTexture building c wallsage1/building c wallsage3
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 4- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            DamageLogic -2 -1 50
            set hotspot
            {
                version
                {
                    visual Building C Barracks Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    ReplaceTexture building c roofage1/building c roofage4
                    ReplaceTexture building c wallsage1/building c wallsage4
                    connect ATTACHPOINT examinationSFX hotspot
                    connect RIGHTTHIGH FlagBarracks HOTSPOT
                    connect LEFTTHIGH FlagBarracks HOTSPOT
                    //connect hotspot BarracksFlag hotspot
                }
            }
            set hotspot
            {
                version
                {
                    visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            
        }
    }
}